#ifndef BLACKHOLE_H
#define BLACKHOLE_H

#include "fighter.h"
#include "sound.h"

class Blackhole : public Sprite
{
public:
	Blackhole(Renderer *, Logic *, Sound *, int, int);
	~Blackhole();

	void show(int, int);

	void toggle(){ active = !active; };
	bool isActive(){ return active; };

	void dragPlayer(Fighter *);

private:
	static const int force = 8;

	bool active;

	int centerX;
	int centerY;
	int radius;

	Logic *logic;
	Sound *snd;

};

#endif
